package com.sky.blog.dao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sky.blog.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author sky  2022/3/27
 * @version 1.0
 */

@Data
@TableName("blog_user_notice")
@ApiModel("博主的通知")
@EqualsAndHashCode(callSuper = true)
public class UserNotice extends BaseEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "所属博客", example = "0")
    private Long userId;
    @ApiModelProperty(value = "通知主体", example = "hello, 大聪明")
    private String notice;
    @ApiModelProperty(value = "优先级", example = "1")
    private Integer sort;

}
